home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / What's New? / Development Kits / Mac OS / USB DDK 1.4.6f4 / Examples / USBModem / ModemStub.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-25  |  1.0 KB  |  29 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        ModemStub.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Version:    xxx put version here xxx
  7.  
  8.     Copyright:    © 1998, 2000 by Apple Computer, Inc., all rights reserved.
  9.  
  10. */
  11.  
  12. #ifndef    _MODEMSTUB_
  13. #define    _MODEMSTUB_
  14.  
  15. /********************************************************************************************/
  16. //
  17. //    Prototypes
  18. //
  19. /********************************************************************************************/
  20.  
  21. static OSStatus modemDriverValidateHW(USBDeviceRef device, USBDeviceDescriptor *desc);
  22. static OSStatus modemDriverInitInterface(UInt32 interfaceNum, USBInterfaceDescriptor *interfaceDesc, USBDeviceDescriptor *deviceDesc, USBDeviceRef device);
  23. static OSStatus modemDriverInitialize(USBDeviceRef device, USBDeviceDescriptorPtr pDesc, UInt32 busPowerAvailable);
  24. static OSStatus modemDriverFinalize(USBDeviceRef device, USBDeviceDescriptorPtr pDesc);
  25. static OSStatus ExpertEntryProc(ExpertNotificationProcPtr pExpertNotify);
  26. static OSStatus    modemDriverNotifyProc(UInt32 notification, void *pointer, UInt32 refCon);
  27.  
  28. #endif
  29.